/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: ListGroupsEvent.java
 * Date: 08/02/2011
 */

package com.ingenius.sau.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.ingenius.sau.client.event.ListGroupsEvent.ListGroupsEventHandler;

/**
 * Class <strong>ListGroupsEvent</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public class ListGroupsEvent extends GwtEvent<ListGroupsEventHandler> {

	public interface ListGroupsEventHandler extends EventHandler {

		void onListGroups(ListGroupsEvent event);
	}

	public static Type<ListGroupsEventHandler> TYPE = new Type<ListGroupsEventHandler>();

	@Override
	public Type<ListGroupsEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(ListGroupsEventHandler handler) {
		handler.onListGroups(this);
	}

}
